"""
1  B  6  7  15 16 28 29 45
3  5  H  14 17 27 30 44
4  9  13 18 26 31 43
10 12 19 25 32 42
11 20 24 33 41
21 23 34 40
22 35 39
36 38
37

1 -> 5 -> 13 -> 25 -> 41
  +4   +H   +12   +16
"""
n = 1
for i in range(5):
    n += i * 4
print(n)
